arm: Shorten the Firmware Update (FWU) process
authorAmbroise Vincent <[email protected]>
Thu, 4 Jul 2019 13:58:45 +0000 (14:58 +0100)
committerAmbroise Vincent <[email protected]>
Tue, 23 Jul 2019 09:41:41 +0000 (10:41 +0100)
commit37b70031e027c76fdebe3c2d2edb2da173bcf150
tree0637298d00b071cc961901fd62d91715c960c673
parentb514ee86c4354a8fae21f853bc8d9c6728543267
arm: Shorten the Firmware Update (FWU) process

The watchdog is configured with a default value of 256 seconds in order
to implement the Trusted Board Boot Requirements.

For the FVP and Juno platforms, the FWU process relies on a watchdog
reset. In order to automate the test of FWU, the length of this process
needs to be as short as possible. Instead of waiting for those 4 minutes
to have a reset by the watchdog, tell it to reset immediately.

There are no side effects as the value of the watchdog's load register
resets to 0xFFFFFFFF.

Tested on Juno.

Change-Id: Ib1aea80ceddc18ff1e0813a5b98dd141ba8a3ff2
Signed-off-by: Ambroise Vincent <[email protected]>
20 files changed:
include/plat/arm/common/plat_arm.h
plat/arm/board/a5ds/a5ds_err.c [new file with mode: 0644]
plat/arm/board/a5ds/platform.mk
plat/arm/board/fvp/fvp_bl1_setup.c
plat/arm/board/fvp/fvp_err.c [new file with mode: 0644]
plat/arm/board/fvp/platform.mk
plat/arm/board/fvp_ve/fvp_ve_err.c [new file with mode: 0644]
plat/arm/board/fvp_ve/platform.mk
plat/arm/board/juno/juno_bl1_setup.c
plat/arm/board/juno/juno_err.c
plat/arm/board/juno/platform.mk
plat/arm/board/rde1edge/platform.mk
plat/arm/board/rde1edge/rde1edge_err.c [new file with mode: 0644]
plat/arm/board/rdn1edge/platform.mk
plat/arm/board/rdn1edge/rdn1edge_err.c [new file with mode: 0644]
plat/arm/board/sgi575/platform.mk
plat/arm/board/sgi575/sgi575_err.c [new file with mode: 0644]
plat/arm/board/sgm775/platform.mk
plat/arm/board/sgm775/sgm775_err.c [new file with mode: 0644]
plat/arm/common/arm_err.c